//
//  LYMineFriendCell.m
//  artist
//
//  Created by Jay_Apple on 16/4/13.
//  Copyright © 2016年 viviyoo. All rights reserved.
//

#import "LYMineFriendCell.h"
#import "LYChatFriendsModel.h"


@interface LYMineFriendCell ()

@property (weak, nonatomic) IBOutlet UIImageView *imageV;
@property (weak, nonatomic) IBOutlet UILabel *name;


@end

@implementation LYMineFriendCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setModel:(LYChatFriendsModel *)model{

    _model = model;
    
    [self.imageV setHeader:_model.head_pic];
    self.name.text = _model.nick_name;
}

@end
